import { UPDATE_WEB_NAV_INDEX, AppActionTypes, UPDATE_TEST_DATA  } from './types'

/**
 * 更新web导航
 */
export function updateWebNavIndex(value: string): AppActionTypes {
  return {
    type: UPDATE_WEB_NAV_INDEX,
    value: value
  }
}

export function changeTestNum(value: number): AppActionTypes {
  return {
    type: UPDATE_TEST_DATA,
    value: value
  }
}